﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BrainTechLLC;

namespace UserInterface
{
	public partial class GameLocationEditor : UserControl
	{
		protected GameLocation _item;
		protected GameLocation Item
		{
			get { return _item; }
			set { _item = value; UpdateBindings(); }
		}

		public void SetItem(GameLocation item)
		{
			Item = item;
		}

		public void UpdateBindings()
		{
			if (_item != null)
			{
				//gameCharTemplateBindingSource.DataSource = _item;
				//templateEditor1.SetItem(_item);
			}
		}

		public GameLocationEditor()
		{
			InitializeComponent();
		}
	}
}
